local kongcheng = fk.CreateSkill {

  name = "joyex__kongcheng",

  tags = { Skill.Compulsory, },

}



kongcheng:addEffect("prohibit", {
  name = "joyex__kongcheng",
  frequency = Skill.Compulsory,
  is_prohibited = function(self, from, to, card)
    if to:hasSkill(kongcheng.name) and to:isKongcheng() then
      return card.trueName == "slash" or card.trueName == "duel" or card.trueName == "snatch"
    end
  end,
})

return kongcheng